//
//  WarningView.h
//  MDC
//
//  Created by 123456 on 16/7/9.
//  Copyright © 2016年 YTYangK. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^MyBlock)(NSInteger);



@interface WarningView : UIView<UIPickerViewDataSource,UIPickerViewDelegate>

@property (nonatomic, copy) MyBlock block;
@property (weak, nonatomic) IBOutlet UIView *SetUpview;
@property (weak, nonatomic) IBOutlet UILabel *titlelabel;
@property (weak, nonatomic) IBOutlet UIButton *queding;
@property (weak, nonatomic) IBOutlet UIButton *quxiao;
@property (weak, nonatomic) IBOutlet UIPickerView *datepicker;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *QHButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *QWButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *BWButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *BHButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *HWarning;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *WWarning;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *backvIew;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *houtop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *houw;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *minw;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mintop;



@end
